package com.zhao.dota.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zhao.dota.contant.GameModelConst;
import com.zhao.dota.contant.TeamConst;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class DotaMatch implements Serializable {

    /**
     * 数据库中的id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 结束时间
     */
    private LocalDateTime endTime;
    /**
     * dota2的比赛id
     */
    private Long matchId;
    /**
     * 模式
     */
    private GameModelConst gameMode;
    /**
     * 胜利方
     */
    private TeamConst winner;
    /**
     * 录像时长
     */
    private Double playbackTime;

    private Boolean parsed;

    private Integer direKills;

    private Integer radiantKills;

    private Float gameTime;

}
